
#ifndef _MEMBER_BSLIDERCONSTRAINT_H_
#define _MEMBER_BSLIDERCONSTRAINT_H_

#include <BNode>
#include <BSliderConstraint>

namespace BWE
{
	class member_BSliderConstraint
	{
	public:
		member_BSliderConstraint(BSliderConstraint* constraint);
		~member_BSliderConstraint();
		
		BConstraint*		boss;
		BVector				axisA;
		BVector				axisB;
		BRealRange			linearLimit;
		BRealRange			angleLimit;

		BReal				softnessDirLin;
		BReal				restitutionDirLin;
		BReal				dampingDirLin;
		BReal				cfmDirLin;

		BReal				softnessDirAng;
		BReal				restitutionDirAng;
		BReal				dampingDirAng;
		BReal				cfmDirAng;

		BReal				softnessLimLin;
		BReal				restitutionLimLin;
		BReal				dampingLimLin;
		BReal				cfmLimLin;

		BReal				softnessLimAng;
		BReal				restitutionLimAng;
		BReal				dampingLimAng;
		BReal				cfmLimAng;

		BReal				softnessOrthoLin;
		BReal				restitutionOrthoLin;
		BReal				dampingOrthoLin;
		BReal				cfmOrthoLin;

		BReal				softnessOrthoAng;
		BReal				restitutionOrthoAng;
		BReal				dampingOrthoAng;
		BReal				cfmOrthoAng;

		bool				poweredLinMotor;
		BReal				targetLinMotorVelocity;
		BReal				maxLinMotorForce;
		BReal				accumulatedLinMotorImpulse;

		bool				poweredAngMotor;
		BReal				targetAngMotorVelocity;
		BReal				maxAngMotorForce;
		BReal				accumulatedAngMotorImpulse;

	};
}

#endif
